package com.study.springboot.SpringBoot_A.mq.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @author 赵超
 * @Description rebbitmq配置类     Direct Exchange 配置
 * @create 2018-03-28 14:31
 **/
@Configuration
public class RabbitConfig {

    @Bean
    public Queue queue() {
        return new Queue("hello");
    }

}

